<div class="col-12 p-0 file-input-panel shadow-sm text-center" (click)="browseFile()">
  <span class="fa fa-fw fa-cloud-upload fa-3x text-teal"></span>
  <input #fileInput type="file" (input)="selectFile($event)">
</div>
<ng-container class="col-12" *ngIf="file">
  <h6 class="col-12 p-0 text-center text-truncate my-margin-top">文件名:{{ file.name }}</h6>
  <h6 class="col-12 p-0 text-left">大小:{{ fileSize }}</h6>
  <label class="col-12 p-0 text-center text-danger" *ngIf="isError">{{isError}}</label>
  <div class="col-12 p-0">
    <div class="progress file-upload-progress">
      <div class="progress-bar" role="progressbar" [style.width]="uploadProgress">{{ uploadProgress }}</div>
    </div>
  </div>
</ng-container>
